package com.central.user.model;

import lombok.Data;

@Data
public class PlayerDetailsInfo extends PlayerBaseInfo {
    private String sex;
    private String deviceMac;
    private String uid;

    /**
     * 0:男;1:女
     * @param sex
     */
    public void setSex(String sex) {
        if ("0".equals(sex) || "男".equals(sex)){
            this.sex = "男";
        }else {
            this.sex = "女";
        }
    }

    @Override
    public String toString() {
        super.toString();
        return "PlayerDetailsInfo{" + "sex='" + sex + '\'' + ", deviceMac='" + deviceMac + '\'' + ", uid='" + uid + '\'' + '}';
    }
}
